fn avl_tree_subtree_height(node: *const AVLTreeNode) -> i32 {
    if node.is_null() {
        0
    } else {
        unsafe { (*node).height }
    }
}

